def count_lines(filename):
    with open("poem.txt","r") as f:
        lines = f.readlines()
        return len(lines)